package com.lims.algorithm.algset.graph.basic;

/**
 * <功能简述>
 *
 * @author lims
 * @date 2020-08-20 15:07
 */
public class VertexNode {
    /**
     * 顶点数据信息
     */
    protected char data;
    /**
     * 指向第一条依附该顶点的弧
     */
    protected EdgeNode firstEdge;

    public char getData() {
        return data;
    }

    public void setData(char data) {
        this.data = data;
    }

    public EdgeNode getFirstEdge() {
        return firstEdge;
    }

    public void setFirstEdge(EdgeNode firstEdge) {
        this.firstEdge = firstEdge;
    }
}
